*{
  box-sizing: border-box;
}
body{
  margin: 0;
  background: #454545;
  line-height: 1.7;
}

a,body{
  color: #eee;
}

a{
  text-decoration: none;
}

.side-bar{
  float: left;
  width: 20%;
  position: fixed;
}

.side-bar > *{
  padding: 10px 15px;
}

.side-bar .nav a,
.side-bar .tag-list a{
  display: block;
  padding: 8px;
  color: #888;
  transition: color 200ms;
}
.side-bar .nav a:hover,
.side-bar .tag-list a:hover{
  color: #eee;
}
.side-bar .nav a{
  font-weight: 700;
}
.main{
  float: right;
  width: 80%;
  color: #454545;
}



.header .logo{
  padding: 10px 20px;
  font-size: 30px;
  display: inline-block;
  border: 5px solid #eee;
  margin-bottom: 10px;
  line-height: 1;
}

.article-list,.article{
  margin-right: 30%;
  background: #fff;
  padding: 20px 30px;
  box-shadow: 0 0 4px rgba(0, 0, 0,0.8);
}

.article-list .item{
  margin-bottom: 24px;
}
.article-list .item .title,
.article .title{
  font-size: 22px;
  font-weight: 700;
  color: #454545;
}
.article .title{
  font-size: 28px;
}

.article-list .item .status,
.article .status{
  font-size: 14px;
  color: #ccc;

}

.article-list .item > *,
.article >*{
  margin: 10px 0;
}


#menu-toggle{
  display: none;
}
/* mobile ====================================== */

@media (max-width:680px) {
  .side-bar{
    position: relative;
    width: 100%;
    float: none;
  }

  .main{
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .article-list,.article{
    margin: 0;
  }

  .side-bar .nav,
  .side-bar .tag-list{
    text-align: center;
    display: none;
  }

  #menu-checkbox:checked~.nav,
  #menu-checkbox:checked~.tag-list{
    display: block;
  }


  #menu-toggle{
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    font-weight: 300;
    color: rgba(255,255,255,.5);
    text-shadow: 0 0 3px #fff;
  }

  #menu-checkbox:checked~#menu-toggle{
    text-shadow: 0 0 0 #fff;
    color: rgba(255,255,255,.7);
  }
}































/* end */
